package com.clock.shop.domain.vo;

import com.clock.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 订单查询结果对象
 * @author CYJ
 */
public class ShopOrderVo {
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long orderId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 支付金额精确到2位小数;单位:元。如:200.07，表示:200元7分 */
    @Excel(name = "支付金额精确到2位小数;单位:元。如:200.07，表示:200元7分")
    private Long paymoney;

    /** 付款类型，（’0‘表示在线支付，’1‘表示线下支付） */
    @Excel(name = "付款类型，", readConverterExp = "’=0‘表示在线支付，’1‘表示线下支付")
    private String paymentType;

    /** 订单创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 订单开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderStart;

    /** 订单结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderOver;

    /** 订单暂停时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单暂停时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderPause;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String serviceName;

    /** 订单状态（数字‘0’表示未开始，数字‘1’表示进行中，数字‘2’表示已结束 */
    @Excel(name = "订单状态", readConverterExp = "订单状态（数字‘0’表示未开始，数字‘1’表示进行中，数字‘2’表示已结束")
    private String orderStatus;

    /** 优惠券ID */
    @Excel(name = "优惠券ID")
    private Long couponId;

    /** 优惠券金额 */
    @Excel(name = "优惠券金额")
    private Integer couponPrice;

    /** 支付状态，0-未支付，1-已支付 */
    @Excel(name = "支付状态，0-未支付，1-已支付")
    private String payStatus;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 店铺名 */
    @Excel(name = "店铺名")
    private String shopName;

    /** 店员ID */
    @Excel(name = "店员ID")
    private Long employeeId;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;
    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getPaymoney() {
        return paymoney;
    }

    public void setPaymoney(Long paymoney) {
        this.paymoney = paymoney;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getOrderStart() {
        return orderStart;
    }

    public void setOrderStart(Date orderStart) {
        this.orderStart = orderStart;
    }

    public Date getOrderOver() {
        return orderOver;
    }

    public void setOrderOver(Date orderOver) {
        this.orderOver = orderOver;
    }

    public Date getOrderPause() {
        return orderPause;
    }

    public void setOrderPause(Date orderPause) {
        this.orderPause = orderPause;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public Integer getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(Integer couponPrice) {
        this.couponPrice = couponPrice;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    @Override
    public String toString() {
        return "ShopOrderVo{" +
                "orderId=" + orderId +
                ", userName='" + userName + '\'' +
                ", paymoney=" + paymoney +
                ", paymentType='" + paymentType + '\'' +
                ", createTime=" + createTime +
                ", orderStart=" + orderStart +
                ", orderOver=" + orderOver +
                ", orderPause=" + orderPause +
                ", serviceName='" + serviceName + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                ", couponId=" + couponId +
                ", couponPrice=" + couponPrice +
                ", payStatus='" + payStatus + '\'' +
                ", payTime=" + payTime +
                ", shopName='" + shopName + '\'' +
                ", employeeId=" + employeeId +
                '}';
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
